package com.linzelin.po;

public class User {
    private String name;

    public User(String name) {
        this.name = name;
        System.out.println("带参数的构造方法执行");
    }

    public void show() {
        System.out.println("我叫" + this.name);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
